package biz.impl;

import java.util.List;
import java.util.Map;

import dao.PeiXunJiHuaDao;

import entity.Peixunjihua;
import biz.PeiXunJiHuaBiz;

public class PeiXunJiHuaBizImpl implements PeiXunJiHuaBiz {
	private PeiXunJiHuaDao peiXunJiHuaDao;
	public void addPeiXunJiHua(Peixunjihua peixunjihua) {
		peiXunJiHuaDao.addPeiXunJiHua(peixunjihua);
	}

	public void updatePeiXunJiHua(Peixunjihua peixunjihua) {
		peiXunJiHuaDao.updatePeiXunJiHua(peixunjihua);
	}

	public Peixunjihua findOnePeiXunJiHua(Long id) {
		return peiXunJiHuaDao.findOnePeiXunJiHua(id);
	}

	public List<Peixunjihua> findAllPeiXunJiHua() {
		return peiXunJiHuaDao.findAllPeiXunJiHua();
	}

	public List<Peixunjihua> findPeiXunJiHuaByCondition(Map map,Integer pageNo,Integer size) {
		return peiXunJiHuaDao.findPeiXunJiHuaByCondition(map,pageNo,size);
	}

	public void deletePeiXunJiHua(Long id) {
		peiXunJiHuaDao.deletePeiXunJiHua(id);
	}

	public void setPeiXunJiHuaDao(PeiXunJiHuaDao peiXunJiHuaDao) {
		this.peiXunJiHuaDao = peiXunJiHuaDao;
	}
	
}
